package cz.none.bezbarier.web.form;

import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotEmpty;

import cz.none.bezbarier.web.model.Type;

public class PlaceForm extends RefererForm {
	private String id;
	@NotEmpty
	private String name;
	private String description;
	@NotEmpty
	private String axisx;
	@NotEmpty
	private String axisy;
	@NotNull
	@Enumerated(EnumType.STRING)
	private Type type;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getAxisx() {
		return axisx;
	}

	public void setAxisx(String axisx) {
		this.axisx = axisx;
	}

	public String getAxisy() {
		return axisy;
	}

	public void setAxisy(String axisy) {
		this.axisy = axisy;
	}

	public Type getType() {
		return type;
	}

	public void setType(Type type) {
		this.type = type;
	}

}
